var express = require("express");

//引入自定义模块
var todoController = require("./controller/todoController");

var app = express();

//设置模版引擎
app.set("view engine","ejs");
//设置静态文件路由
app.use(express.static("./public"));

todoController(app);

app.listen(3000);